package com.partner.service;

import java.util.List;

import com.partner.dao.UniversityAndZhuanyeDao;
import com.partner.domain.University;
import com.partner.domain.ZhuanYe;

public class UniversityAndZhuanyeService {
	UniversityAndZhuanyeDao universityAndZhuanyeDao = new UniversityAndZhuanyeDao();
	//查询大学
		public List<University> selectUniversity(){
			return universityAndZhuanyeDao.selectUniversity();
		}
		//查询专业
		public List<ZhuanYe> selectZhuanye(){
			return universityAndZhuanyeDao.selectZhuanye();
		}
}
